<!DOCTYPE html>
<html>
<head>
	<title></title>
	<style type="text/css">
	div{
		display: inline-block;
		width: 100px;
		height: 100px;
		background: red;
	}
	</style>
</head>
<body>



<div>这是div</div>


</body>
</html>